Skip to content

Update fetch dependency#97

Merged
ChiragAgg5k merged 1 commit into
mainfrom
codex/update-fetch-1.1
May 8, 2026
Merged

Update fetch dependency#97
ChiragAgg5k merged 1 commit into
mainfrom
codex/update-fetch-1.1

Conversation

@ChiragAgg5k
Copy link
Copy Markdown
Member

Summary

  • Update utopia-php/fetch constraint from 0.5.* to ^1.1.
  • Refresh composer.lock to install utopia-php/fetch 1.1.2.

Compatibility

The direct fetch usage in this repository is limited to test helpers using Client::fetch(), Response::getStatusCode(), and Response::text(), which are still available in fetch 1.1.2.

Test Plan

  • composer validate --strict
  • composer audit
  • composer run lint
  • composer run check

Notes:

  • composer run test requires VCS provider credentials and fails in this environment with missing access token errors.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 8, 2026

Greptile Summary

This PR updates the utopia-php/fetch dependency constraint from 0.5.* to ^1.1 and refreshes composer.lock to pin version 1.1.2. The only in-repo consumer of the library is the test helper in tests/VCS/Base.php, which uses Client::fetch(), Response::getStatusCode(), and Response::text() — all of which remain available in the 1.1.x API.

  • composer.json: single-line constraint change from 0.5.* to ^1.1; no other dependencies affected.
  • composer.lock: locked to fetch 1.1.2 with an updated git reference and timestamp; the only structural addition is swoole/ide-helper ^6.0 as a dev dependency of the upstream package itself (not of this repo).

Confidence Score: 5/5

This is a safe dependency bump with no production code changes; the only consumer of the library is test helpers whose method calls remain compatible with the new version.

The change touches only composer.json and composer.lock. The upstream library's public API (Client::fetch(), Response::getStatusCode(), Response::text()) is unchanged in 1.1.x, and no source files outside of test helpers reference the package directly. The ^1.1 constraint correctly allows future patch and minor releases while staying on major version 1.

No files require special attention.

Important Files Changed

Filename Overview
composer.json Bumps utopia-php/fetch constraint from 0.5.* to ^1.1; all other dependencies unchanged.
composer.lock Lock file regenerated for fetch 1.1.2 (new git reference, updated timestamps, adds swoole/ide-helper as a dev dependency of the fetched package itself); no other package versions changed.

Reviews (1): Last reviewed commit: "Update fetch dependency" | Re-trigger Greptile

@ChiragAgg5k ChiragAgg5k merged commit 03ccd12 into main May 8, 2026
3 of 5 checks passed
@ChiragAgg5k ChiragAgg5k deleted the codex/update-fetch-1.1 branch May 8, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants